/**
 * 背景模块
 */
class BackgroundModule {
	private static _instance: BackgroundModule=null;
    public static get instance(): BackgroundModule {
        if (BackgroundModule._instance == null)
            BackgroundModule._instance = new BackgroundModule();
        return BackgroundModule._instance;
    }
	public constructor() {

	}
	private view:BackgroundView;
	//初始化
	public init(){
		let layer=LayerControl.background_layer;
		this.view=new BackgroundView();
		layer.addChild(this.view);
	}
}